package com.handsome.策略模式;

/**
 * @author niechun
 * @date 2023/3/27 20:05
 */
public class PekingDuck extends Duck{

    public PekingDuck() {
        super.setFlyBehavior(new BadFlyBehavior());
    }

    @Override
    public void display() {
        System.out.println("北京鸭");
    }
}
